package com.api.user.model;

import java.io.Serializable;
import javax.persistence.*;

public class Companion implements Serializable {
    @Id
    @Column(name = "companion_id")
    private Long companionId;

    /**
     * 陪玩热度
     */
    private Integer popularity;

    private Boolean ban;

    private static final long serialVersionUID = 1L;

    /**
     * @return companion_id
     */
    public Long getCompanionId() {
        return companionId;
    }

    /**
     * @param companionId
     */
    public void setCompanionId(Long companionId) {
        this.companionId = companionId;
    }

    /**
     * 获取陪玩热度
     *
     * @return popularity - 陪玩热度
     */
    public Integer getPopularity() {
        return popularity;
    }

    /**
     * 设置陪玩热度
     *
     * @param popularity 陪玩热度
     */
    public void setPopularity(Integer popularity) {
        this.popularity = popularity;
    }

    public Boolean getBan() {
        return ban;
    }

    public void setBan(Boolean ban) {
        this.ban = ban;
    }
}